package com.dmxh.service;

import com.dmxh.pojo.TbAreas;
import com.dmxh.pojo.TbCities;
import com.dmxh.pojo.TbProvinces;
import com.dmxh.vo.AddressVo;

import java.util.List;

public interface AddressService {
    List<AddressVo> queryAllAddress(String userId);

    AddressVo queryById(long id);

    void addInfo(AddressVo addressVo);

    void updateInfo(AddressVo addressVo);

    void deleteById(long id);

    List<TbProvinces> queryAllProvince();

    List<TbCities> queryAllCity();

    List<TbAreas> queryAllArea();
}
